package com.itsitio.registeradmin.dao.impl;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.itsitio.registeradmin.dao.CompanyDepartmentDao;
import com.itsitio.registeradmin.dao.base.SpringHibernateDao;
import com.itsitio.registeradmin.model.CompanyDepartment;
import com.itsitio.registeradmin.model.CompanyPosition;

@Repository
public class CompanyDepartmentDaoImpl extends SpringHibernateDao<CompanyDepartment> implements CompanyDepartmentDao{

	@Autowired
	public CompanyDepartmentDaoImpl(SessionFactory sessionFactory) {
		super(sessionFactory);
	}

	@Override
	protected Class<CompanyDepartment> getObjetoManejado() {
		return CompanyDepartment.class;
	}

}
